<?php
class MustKnow extends CWidget {

	public function init() {
		
	}
	
	public function run() {
		$this->renderContent();
	}
	
	public function renderContent() {
		$criteria = new CDbCriteria;
		$criteria->limit = 4;
		$criteria->order = 'postId DESC';
		$zxxz = Posts::model()->findByCategoryId(33, $criteria);
		
		$this->render('must-know', array(
				'zxxz' => $zxxz,
			)
		);
	}
}